package com.study.publish;

import com.study.subscription.ISubscription;

/**
 * 发布
 * 
 * @author donghuating
 *
 */
public abstract class APublish {

    protected String name;

    public abstract void add(ISubscription subscript);

    public abstract void delete(ISubscription subscript);

    public abstract void send(String msg);

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
